package com.micro.modual.entity;

import javax.persistence.Id;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.Table;
import java.io.Serializable;
												    import java.util.Date;
																												
/**
 *
 * <h1>系统元素表表 micro_system_element</h1>
 * @author levelcoder
 * @date 2020-08-04 00:11:10
 */
@ApiModel(description = "系统元素表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "micro_system_element")
public class SystemElement implements Serializable{

	private static final long serialVersionUID = 1L;

	@Id
    @ApiModelProperty(value = "主键编号")
	private Long id;

	
			
					/**
			 * 元素编号
			 */
        	@ApiModelProperty(value = "元素编号")
			private String elementCode;

			
					/**
			 * 元素名称
			 */
        	@ApiModelProperty(value = "元素名称")
			private String elementName;

			
					/**
			 * 权限编码
			 */
        	@ApiModelProperty(value = "权限编码")
			private String authCode;

			
					/**
			 * 资源路径
			 */
        	@ApiModelProperty(value = "资源路径")
			private String elementUri;

			
					/**
			 * 菜单编码
			 */
        	@ApiModelProperty(value = "菜单编码")
			private String menuCode;

			
					/**
			 * 上级编号
			 */
        	@ApiModelProperty(value = "上级编号")
			private String parentCode;

			
					/**
			 * 资源树状检索路径
			 */
        	@ApiModelProperty(value = "资源树状检索路径")
			private String elementTreePath;

			
					/**
			 * 资源描述
			 */
        	@ApiModelProperty(value = "资源描述")
			private String elementDesc;

			
					/**
			 * 资源类型 uri/button
			 */
        	@ApiModelProperty(value = "资源类型 uri/button")
			private String elementType;

			
					/**
			 * 资源方法类别 PUT/POST/DELETE/GET
			 */
        	@ApiModelProperty(value = "资源方法类别 PUT/POST/DELETE/GET")
			private String elementMethod;

			
					/**
			 * 创建时间
			 */
        	@ApiModelProperty(value = "创建时间")
			private Date createTime;

			
					/**
			 * 更新时间
			 */
        	@ApiModelProperty(value = "更新时间")
			private Date updateTime;

			}
